perimeter problems in mathematics